<template>
<div id="app">
  <!-- <img src="./assets/logo.png"> -->
  <router-view></router-view>
</div>
</template>

<script>
import {initWx} from './service/Weixin';
import {track} from './statistics/mongo';

export default {
  name: 'app',
  created () {
    initWx();
    // statisics 进入页面统计
    track('enter', {});
  }
}
</script>

<style lang="scss">
@import './style/common';
@import './style/weui.min';
#app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    // margin-top: 60px;
}
</style>
